package com.smx.controller;

import com.smx.mvc.ResponseBody;
import com.smx.mvc.ResponseView;

import javax.servlet.Servlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @ClassName HomeController
 * @Description TODO
 * @Author moses
 * @Date 2021/5/9
 **/
public class HomeController {
    @ResponseView("/main.do")
    public String toMain(Servlet servlet, HttpServletRequest req, HttpServletResponse response) {
        return "main.jsp";
    }

}
